package com.lagou.task08;

import java.security.spec.PSSParameterSpec;

public class Test {
    public static void main(String[] args) {
        //手机卡类的行为
        PhoneCard pc1 = new PhoneCard("类型1",1553332345,"ck","123456m",50.3,60,61.5);
        pc1.show();
        PhoneCard pc2 = new PhoneCard("类型2",1553232345,"sck","123456n",50.1,30,31.5);
        //通话套餐类的行为
        PhonePackage pp = new PhonePackage();
        pp.show();
        //上网套餐类的行为
        InternetPackage ip = new InternetPackage();
        ip.show();
        //通话服务接口
        CallService cs = new PhonePackage();

        cs.showCall(30,pc1);
        //上网服务接口
        InternetService is = new InternetPackage();
        is.showInter(30.6,pc2);
    }
}
